package com.honglv.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Auther: 生
 * @Date: 2024/03/17/21:08
 * @Description:酒店
 */
@Getter



@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value ="tb_hotel")
public class Hotel {

    private Long id;

    //酒店名
    private String name;

    //电话
    private Long phone;

    //简介
    //简介中注明地址
    private String context;

    //城市
    private String city;

    //图片
    private List<String> pictures;

    //作者id
    private Long authorId;
}
